package com.example.gateway.controller;


import com.example.common.dto.base.ResultMsg;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/gateway")
public class gatewayController {

    @ApiOperation("测试接口")
    @RequestMapping(value = "/test")
    public ResultMsg<String> test() {
        return ResultMsg.generateSuccessResults("测试成功","111");
    }

}
